package com.liangsui.cmall.seckill.service;

import com.liangsui.cmall.seckill.to.SeckillSkuRedisTo;

import java.util.List;

/**
 * SeckillService
 *
 * @author zhangjiawei
 * @email 1533167396@qq.com
 * @date 2022/8/25 17:16
 */
public interface SeckillService {

    void uploadSeckillSkuLatest3Days();

    List<SeckillSkuRedisTo> getCurrentSeckillSkus();

    SeckillSkuRedisTo getSkuSeckillInfo(Long skuId);

    String kill(String killId, String key, Integer num);
}
